Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 104.5 kB / 16.94 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 191.6 kB / 17.87 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8155/0.8155, allocations: 125.4 MB / 417.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 59.91 kB / 0.4948 GB, free: 4.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4202, allocations: 78.56 MB / 0.5715 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1961/0.6164, allocations: 168.5 MB / 0.736 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3931/1.01, allocations: 17.35 MB / 0.753 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/1.012, allocations: 32.06 kB / 0.753 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/1.014, allocations: 0.5705 MB / 0.7536 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005878/1.02, allocations: 1.785 MB / 0.7553 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004334/1.024, allocations: 1.427 MB / 0.7567 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005243/1.029, allocations: 2.868 MB / 0.7595 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003529/1.033, allocations: 1.94 MB / 0.7614 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0057/1.038, allocations: 1.42 MB / 0.7628 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/1.041, allocations: 1.115 MB / 0.7639 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006814/1.042, allocations: 221.9 kB / 0.7641 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00425/1.046, allocations: 1.525 MB / 0.7656 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007469/1.047, allocations: 0.7968 MB / 0.7664 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002113/1.049, allocations: 1.226 MB / 0.7676 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0063/1.055, allocations: 3.552 MB / 0.771 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.055, allocations: 0.75 kB / 0.771 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.525e-06/1.056, allocations: 0.7812 kB / 0.771 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.091e-05/1.056, allocations: 0 / 0.771 GB, free: 0.8398 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.00655/1.062, allocations: 2.787 MB / 0.7737 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.062, allocations: 14.03 kB / 0.7738 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003849/1.066, allocations: 0.5529 MB / 0.7743 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002977/1.069, allocations: 1.605 MB / 0.7759 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.33e-05/1.069, allocations: 132.1 kB / 0.776 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/1.069, allocations: 173.5 kB / 0.7762 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/1.073, allocations: 1.959 MB / 0.7781 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/1.073, allocations: 0 / 0.7781 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/1.073, allocations: 75.31 kB / 0.7781 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/1.073, allocations: 42.53 kB / 0.7782 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003306/1.076, allocations: 2.118 MB / 0.7803 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/1.087, allocations: 6.448 MB / 0.7865 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/1.09, allocations: 2.138 MB / 0.7886 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/1.092, allocations: 0.7732 MB / 0.7894 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006416/1.092, allocations: 429 kB / 0.7898 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/1.094, allocations: 1.011 MB / 0.7908 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.146e-06/1.094, allocations: 0 / 0.7908 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.007011/1.101, allocations: 2.996 MB / 0.7937 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/1.101, allocations: 198 kB / 0.7939 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/1.104, allocations: 1.822 MB / 0.7957 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003501/1.104, allocations: 63.36 kB / 0.7957 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007682/1.105, allocations: 0.8491 MB / 0.7966 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000541/1.105, allocations: 485.7 kB / 0.797 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000392/1.106, allocations: 257.4 kB / 0.7973 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.106, allocations: 355.2 kB / 0.7976 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/1.107, allocations: 0.6058 MB / 0.7982 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/1.108, allocations: 0.8122 MB / 0.799 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/1.111, allocations: 1.36 MB / 0.8003 GB, free: 9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.111, allocations: 0 / 0.8003 GB, free: 9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003996/1.115, allocations: 1.841 MB / 0.8021 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.115, allocations: 6.469 kB / 0.8021 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.115, allocations: 0.9375 kB / 0.8021 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/1.116, allocations: 211 kB / 0.8023 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.118, allocations: 340.4 kB / 0.8027 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006975/1.125, allocations: 7.333 MB / 0.8098 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/1.127, allocations: 165 kB / 0.81 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/1.127, allocations: 57.47 kB / 0.81 GB, free: 1.918 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00118/1.128, allocations: 494.1 kB / 0.8105 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005118/1.129, allocations: 182.7 kB / 0.8107 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/1.133, allocations: 2.149 MB / 0.8128 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/1.133, allocations: 17.67 kB / 0.8128 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.133, allocations: 2.75 kB / 0.8128 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/1.133, allocations: 8.828 kB / 0.8128 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007322/1.141, allocations: 4.018 MB / 0.8167 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.141, allocations: 0 / 0.8167 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/1.142, allocations: 322.4 kB / 0.817 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008833/1.143, allocations: 200 kB / 0.8172 GB, free: 352 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/1.143, allocations: 47.52 kB / 0.8173 GB, free: 336 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006821/1.15, allocations: 7.357 MB / 0.8245 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.15, allocations: 0 / 0.8245 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/1.155, allocations: 2.017 MB / 0.8264 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.156, allocations: 474.3 kB / 0.8269 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/1.157, allocations: 35.88 kB / 0.8269 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.158, allocations: 105.2 kB / 0.827 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/1.158, allocations: 117.2 kB / 0.8271 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/1.159, allocations: 63.95 kB / 0.8272 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002028/1.161, allocations: 1.313 MB / 0.8285 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/1.161, allocations: 3.094 kB / 0.8285 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002419/1.163, allocations: 0.682 MB / 0.8291 GB, free: 4.645 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002478/1.165, allocations: 0.7603 MB / 0.8299 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006315/1.172, allocations: 2.539 MB / 0.8324 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.172, allocations: 4.547 kB / 0.8324 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002442/1.174, allocations: 1.427 MB / 0.8338 GB, free: 112 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/1.177, allocations: 0.5478 MB / 0.8343 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007832/1.185, allocations: 3.836 MB / 0.838 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/1.187, allocations: 1.494 MB / 0.8395 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008959/1.187, allocations: 199.3 kB / 0.8397 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of SimCode: time 1.152e-06/1.187, allocations: 3.938 kB / 0.8397 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of Templates: time 0.08776/1.275, allocations: 67.57 MB / 0.9057 GB, free: 6.555 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)