Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_IDEAS_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.001016/0.001016, allocations: 108 kB / 15.6 MB, free: 132 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.001527/0.001527, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7729/0.7729, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 66.33 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.396, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1813/0.5773, allocations: 167 MB / 0.7433 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.5966, allocations: 17.12 MB / 0.76 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.5978, allocations: 31.81 kB / 0.76 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.5991, allocations: 0.5313 MB / 0.7605 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003899/0.6031, allocations: 1.651 MB / 0.7621 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.6061, allocations: 1.363 MB / 0.7635 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002508/0.6086, allocations: 2.541 MB / 0.7659 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/0.6109, allocations: 1.959 MB / 0.7679 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00325/0.6141, allocations: 1.35 MB / 0.7692 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.6155, allocations: 1.04 MB / 0.7702 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004439/0.6159, allocations: 208 kB / 0.7704 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002689/0.6186, allocations: 1.509 MB / 0.7719 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000719/0.6193, allocations: 0.775 MB / 0.7726 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.6206, allocations: 1.189 MB / 0.7738 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.6241, allocations: 3.482 MB / 0.7772 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6242, allocations: 0 / 0.7772 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6242, allocations: 0 / 0.7772 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.57e-05/0.6242, allocations: 0 / 0.7772 GB, free: 7.16 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.003867/0.6281, allocations: 2.808 MB / 0.7799 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.6281, allocations: 8.031 kB / 0.7799 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002427/0.6284, allocations: 248.5 kB / 0.7802 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.6317, allocations: 0.5667 MB / 0.7807 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.6349, allocations: 3.362 MB / 0.784 GB, free: 44 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.999e-05/0.635, allocations: 131.3 kB / 0.7841 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.6352, allocations: 167.9 kB / 0.7843 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.638, allocations: 1.888 MB / 0.7861 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.638, allocations: 3.938 kB / 0.7861 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.6382, allocations: 72 kB / 0.7862 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.6382, allocations: 40 kB / 0.7862 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/0.6413, allocations: 2.065 MB / 0.7883 GB, free: 11.62 MB / 0.6231 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.008061/0.6494, allocations: 6.237 MB / 0.7944 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.6523, allocations: 2.033 MB / 0.7963 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.6535, allocations: 0.7412 MB / 0.7971 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004935/0.654, allocations: 429.7 kB / 0.7975 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00147/0.6555, allocations: 0.9349 MB / 0.7984 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 2.404e-06/0.6555, allocations: 0 / 0.7984 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.006259/0.6618, allocations: 2.871 MB / 0.8012 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.6619, allocations: 201.2 kB / 0.8014 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003828/0.6657, allocations: 4.06 MB / 0.8053 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.6659, allocations: 57.7 kB / 0.8054 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006266/0.6665, allocations: 0.8748 MB / 0.8063 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.6668, allocations: 453.3 kB / 0.8067 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.6671, allocations: 230.7 kB / 0.8069 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6673, allocations: 349.9 kB / 0.8072 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.6683, allocations: 0.553 MB / 0.8078 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.6694, allocations: 0.7696 MB / 0.8085 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.6716, allocations: 1.286 MB / 0.8098 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6716, allocations: 0 / 0.8098 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003521/0.6751, allocations: 1.721 MB / 0.8115 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.6752, allocations: 8 kB / 0.8115 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6752, allocations: 3.938 kB / 0.8115 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.6762, allocations: 212.1 kB / 0.8117 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.6776, allocations: 311.6 kB / 0.812 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2361/0.9137, allocations: 7.314 MB / 0.8191 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.9151, allocations: 155.3 kB / 0.8193 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.606e-05/0.9152, allocations: 49.03 kB / 0.8193 GB, free: 211.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * 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.0007796/0.916, allocations: 472.1 kB / 0.8198 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/0.9163, allocations: 189.2 kB / 0.8199 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/0.9204, allocations: 2.068 MB / 0.822 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.9204, allocations: 17.88 kB / 0.822 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.9204, allocations: 2.219 kB / 0.822 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.9204, allocations: 7.078 kB / 0.822 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006011/0.9265, allocations: 3.959 MB / 0.8259 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.9265, allocations: 0 / 0.8259 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.9279, allocations: 312.6 kB / 0.8262 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008291/0.9287, allocations: 205 kB / 0.8264 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.824e-05/0.9288, allocations: 39.22 kB / 0.8264 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/0.9327, allocations: 7.356 MB / 0.8336 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.9327, allocations: 0 / 0.8336 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/0.9363, allocations: 1.931 MB / 0.8355 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006594/0.937, allocations: 0.4905 MB / 0.8359 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.9372, allocations: 26.52 kB / 0.836 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.9383, allocations: 102.5 kB / 0.8361 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.9385, allocations: 106.7 kB / 0.8362 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.9386, allocations: 66.59 kB / 0.8362 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002535/0.9412, allocations: 3.115 MB / 0.8393 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9412, allocations: 0 / 0.8393 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001442/0.9426, allocations: 0.6378 MB / 0.8399 GB, free: 200.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004803/0.9474, allocations: 3.127 MB / 0.8429 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004357/0.9518, allocations: 2.409 MB / 0.8453 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9518, allocations: 5.656 kB / 0.8453 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.9534, allocations: 1.378 MB / 0.8466 GB, free: 197 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.9555, allocations: 0.5358 MB / 0.8472 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/0.9778, allocations: 22.28 MB / 0.8689 GB, free: 178.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/0.9786, allocations: 1.512 MB / 0.8704 GB, free: 176.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001941/0.9805, allocations: 0.5127 MB / 0.8709 GB, free: 176.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008284/0.9813, allocations: 0.8741 MB / 0.8718 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of SimCode: time 4.1e-07/0.9813, allocations: 0 / 0.8718 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4322/1.414, allocations: 46.84 MB / 0.9175 GB, free: 129.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/14.42, allocations: 11.81 kB / 0.9175 GB, free: 129.1 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)