Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",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.001503/0.001503, allocations: 108 kB / 15.61 MB, free: 148 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.001847/0.001847, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.89/0.89, allocations: 135.1 MB / 425.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.34 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1439, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.405/0.549, allocations: 166.9 MB / 0.7475 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02436/0.5734, allocations: 17.11 MB / 0.7642 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.575, allocations: 27.88 kB / 0.7642 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.5768, allocations: 0.5196 MB / 0.7647 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004861/0.5817, allocations: 1.636 MB / 0.7663 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004409/0.5861, allocations: 1.378 MB / 0.7677 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004033/0.5902, allocations: 2.521 MB / 0.7701 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.5933, allocations: 1.95 MB / 0.772 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005157/0.5985, allocations: 1.333 MB / 0.7733 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.6006, allocations: 1.027 MB / 0.7743 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007433/0.6013, allocations: 208 kB / 0.7745 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004588/0.6059, allocations: 1.509 MB / 0.776 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.6072, allocations: 0.7595 MB / 0.7767 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002582/0.6098, allocations: 1.181 MB / 0.7779 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005453/0.6153, allocations: 3.454 MB / 0.7813 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6153, allocations: 8 kB / 0.7813 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.576e-06/0.6153, allocations: 3.984 kB / 0.7813 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.222e-05/0.6154, allocations: 0 / 0.7813 GB, free: 3.293 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004695/0.6201, allocations: 2.773 MB / 0.784 GB, free: 468 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.6202, allocations: 8.031 kB / 0.784 GB, free: 460 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000278/0.6205, allocations: 248.5 kB / 0.7842 GB, free: 200 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003444/0.6239, allocations: 0.5589 MB / 0.7848 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/0.6273, allocations: 3.35 MB / 0.788 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/0.6274, allocations: 131.2 kB / 0.7882 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.6275, allocations: 163.9 kB / 0.7883 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/0.6303, allocations: 1.876 MB / 0.7902 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.6304, allocations: 0 / 0.7902 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.6305, allocations: 72 kB / 0.7902 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.6305, allocations: 40 kB / 0.7903 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003078/0.6336, allocations: 2.034 MB / 0.7923 GB, free: 7.863 MB / 0.6075 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.007677/0.6413, allocations: 6.096 MB / 0.7982 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.6441, allocations: 2.011 MB / 0.8002 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.6452, allocations: 0.7256 MB / 0.8009 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005007/0.6457, allocations: 433.7 kB / 0.8013 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.6471, allocations: 0.9271 MB / 0.8022 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 2.725e-06/0.6471, allocations: 0 / 0.8022 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.005807/0.653, allocations: 2.844 MB / 0.805 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.6531, allocations: 193.2 kB / 0.8052 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00364/0.6567, allocations: 4.015 MB / 0.8091 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.87e-05/0.6568, allocations: 53.7 kB / 0.8091 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000581/0.6574, allocations: 0.8667 MB / 0.81 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.6577, allocations: 465.2 kB / 0.8104 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/0.6581, allocations: 218.8 kB / 0.8106 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6582, allocations: 353.9 kB / 0.811 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009175/0.6591, allocations: 0.5374 MB / 0.8115 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.6602, allocations: 0.7578 MB / 0.8122 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/0.6622, allocations: 1.259 MB / 0.8135 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6622, allocations: 0 / 0.8135 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00323/0.6654, allocations: 1.686 MB / 0.8151 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6655, allocations: 4 kB / 0.8151 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6655, allocations: 8.031 kB / 0.8151 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.6665, allocations: 216.1 kB / 0.8153 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.6678, allocations: 307.5 kB / 0.8156 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.6784, allocations: 7.297 MB / 0.8227 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.6797, allocations: 161 kB / 0.8229 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.6798, allocations: 51.91 kB / 0.8229 GB, free: 6.98 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 (132): * Single equations (assignments): 127 * 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.0006347/0.6804, allocations: 471.5 kB / 0.8234 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.6807, allocations: 193.7 kB / 0.8236 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.6847, allocations: 2.041 MB / 0.8256 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.6848, allocations: 16 kB / 0.8256 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.6848, allocations: 0 / 0.8256 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.6848, allocations: 11.91 kB / 0.8256 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005814/0.6906, allocations: 3.913 MB / 0.8294 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6906, allocations: 4 kB / 0.8294 GB, free: 244 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.6919, allocations: 307.5 kB / 0.8297 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008289/0.6928, allocations: 208.1 kB / 0.8299 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.549e-05/0.6929, allocations: 39.97 kB / 0.83 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005141/0.698, allocations: 7.353 MB / 0.8371 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.698, allocations: 0 / 0.8371 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.7015, allocations: 1.901 MB / 0.839 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007101/0.7022, allocations: 0.4943 MB / 0.8395 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.7025, allocations: 28 kB / 0.8395 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.7036, allocations: 98.14 kB / 0.8396 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.7038, allocations: 97.31 kB / 0.8397 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.7039, allocations: 75.94 kB / 0.8398 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002831/0.7068, allocations: 3.084 MB / 0.8428 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.513e-06/0.7068, allocations: 0 / 0.8428 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001405/0.7082, allocations: 0.6391 MB / 0.8434 GB, free: 1.164 MB / 0.6544 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.005157/0.7133, allocations: 3.107 MB / 0.8464 GB, free: 14.21 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004432/0.7178, allocations: 2.379 MB / 0.8488 GB, free: 11.77 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7178, allocations: 0.7969 kB / 0.8488 GB, free: 11.77 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.7196, allocations: 1.371 MB / 0.8501 GB, free: 10.33 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.7215, allocations: 0.5333 MB / 0.8506 GB, free: 9.824 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2548/0.9763, allocations: 21.83 MB / 0.8719 GB, free: 212.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/0.9771, allocations: 1.505 MB / 0.8734 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001719/0.9789, allocations: 0.5103 MB / 0.8739 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008452/0.9797, allocations: 0.8519 MB / 0.8747 GB, free: 210.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.012e-06/0.9797, allocations: 0 / 0.8747 GB, free: 210.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.844/5.823, allocations: 46.22 MB / 0.9199 GB, free: 199.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/22.08, allocations: 7.906 kB / 0.9199 GB, free: 199.6 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)