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: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007204/0.0007204, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007362/0.0007362, allocations: 176 kB / 16.58 MB, free: 6.066 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.167/1.167, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6141/0.6141, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002865, allocations: 15.98 kB / 493.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1135, allocations: 77.11 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.3644/0.4779, allocations: 151.8 MB / 0.7051 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01609/0.494, allocations: 15.95 MB / 0.7207 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00091/0.4949, allocations: 27.81 kB / 0.7207 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009473/0.4959, allocations: 389.3 kB / 0.7211 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.4993, allocations: 1.319 MB / 0.7223 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.5019, allocations: 1.108 MB / 0.7234 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002423/0.5043, allocations: 2.584 MB / 0.726 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.5059, allocations: 1.505 MB / 0.7274 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.5073, allocations: 1.004 MB / 0.7284 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008809/0.5082, allocations: 0.8595 MB / 0.7292 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.5084, allocations: 51.94 kB / 0.7293 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.5104, allocations: 1.01 MB / 0.7303 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004941/0.5109, allocations: 0.5956 MB / 0.7309 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.5113, allocations: 416.4 kB / 0.7313 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.5138, allocations: 2.646 MB / 0.7338 GB, free: 5.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5138, allocations: 7.938 kB / 0.7338 GB, free: 5.512 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5138, allocations: 0 / 0.7338 GB, free: 5.512 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.5138, allocations: 0 / 0.7338 GB, free: 5.512 MB / 0.545 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.003564/0.5174, allocations: 2.46 MB / 0.7363 GB, free: 2.992 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5174, allocations: 12.03 kB / 0.7363 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000269/0.5177, allocations: 248.9 kB / 0.7365 GB, free: 2.727 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.5207, allocations: 0.5745 MB / 0.7371 GB, free: 2.148 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.524, allocations: 3.333 MB / 0.7403 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/0.5241, allocations: 131.4 kB / 0.7404 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.5243, allocations: 168 kB / 0.7406 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.5272, allocations: 1.945 MB / 0.7425 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.5272, allocations: 7.938 kB / 0.7425 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.5273, allocations: 71.98 kB / 0.7426 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.5274, allocations: 44 kB / 0.7426 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00307/0.5305, allocations: 2.12 MB / 0.7447 GB, free: 10.23 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007482/0.5379, allocations: 6.412 MB / 0.751 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.5408, allocations: 2.136 MB / 0.753 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.5419, allocations: 0.7725 MB / 0.7538 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/0.5424, allocations: 421.6 kB / 0.7542 GB, free: 92 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/0.5439, allocations: 1.032 MB / 0.7552 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 2.745e-06/0.5439, allocations: 0 / 0.7552 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=146): time 0.005752/0.5497, allocations: 3.031 MB / 0.7582 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.452e-05/0.5498, allocations: 193.2 kB / 0.7583 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004201/0.554, allocations: 4.082 MB / 0.7623 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.5542, allocations: 57.7 kB / 0.7624 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/0.5548, allocations: 0.9024 MB / 0.7633 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.5551, allocations: 477 kB / 0.7637 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.5552, allocations: 28 kB / 0.7638 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5554, allocations: 357.9 kB / 0.7641 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.5564, allocations: 0.5843 MB / 0.7647 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.5575, allocations: 0.8103 MB / 0.7655 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.5586, allocations: 0.6701 MB / 0.7661 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.5586, allocations: 0 / 0.7661 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003259/0.5619, allocations: 1.807 MB / 0.7679 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5619, allocations: 11.94 kB / 0.7679 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.562, allocations: 3.984 kB / 0.7679 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008563/0.5628, allocations: 212.2 kB / 0.7681 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.5642, allocations: 347.4 kB / 0.7684 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004857/0.5691, allocations: 6.792 MB / 0.7751 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.5704, allocations: 198.8 kB / 0.7752 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/0.5705, allocations: 47.97 kB / 0.7753 GB, free: 9.5 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007621/0.5713, allocations: 494.1 kB / 0.7758 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.5715, allocations: 193.7 kB / 0.7759 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.5755, allocations: 2.185 MB / 0.7781 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.5755, allocations: 19.98 kB / 0.7781 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5755, allocations: 0 / 0.7781 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.5755, allocations: 7.969 kB / 0.7781 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005789/0.5813, allocations: 4.144 MB / 0.7822 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.5813, allocations: 3.984 kB / 0.7822 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.5827, allocations: 331.5 kB / 0.7825 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007767/0.5835, allocations: 216.1 kB / 0.7827 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.213e-05/0.5836, allocations: 39.97 kB / 0.7827 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004835/0.5884, allocations: 6.843 MB / 0.7894 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5884, allocations: 0 / 0.7894 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003469/0.5919, allocations: 2.034 MB / 0.7914 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007159/0.5926, allocations: 0.5292 MB / 0.7919 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.5928, allocations: 28.19 kB / 0.7919 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.594, allocations: 161.8 kB / 0.7921 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.5942, allocations: 117.1 kB / 0.7922 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.5943, allocations: 71.95 kB / 0.7923 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002932/0.5973, allocations: 3.129 MB / 0.7953 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5973, allocations: 0 / 0.7953 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00152/0.5988, allocations: 0.6703 MB / 0.796 GB, free: 3.473 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004882/0.6037, allocations: 3.233 MB / 0.7991 GB, free: 408 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002942/0.6067, allocations: 2.074 MB / 0.8012 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.6067, allocations: 8.547 kB / 0.8012 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.6085, allocations: 1.434 MB / 0.8026 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.6103, allocations: 0.4919 MB / 0.803 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/0.6363, allocations: 19.59 MB / 0.8222 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.6373, allocations: 1.537 MB / 0.8237 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001995/0.6394, allocations: 0.5211 MB / 0.8242 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.6405, allocations: 0.9014 MB / 0.8251 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of SimCode: time 7.41e-07/0.6405, allocations: 0 / 0.8251 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2649/0.9054, allocations: 48.66 MB / 0.8726 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.9056, allocations: 267.6 kB / 0.8728 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.616, allocations: 3.094 kB / 0.8728 GB, free: 207.6 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) Environment - environmentSimulation: