Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.ScenarioAliquote.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.BoundaryConditions.Scenarios.ScenarioAliquote,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_ScenarioAliquote",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.ScenarioAliquote,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_ScenarioAliquote",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.001146/0.001146, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.00124/0.00124, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.088/1.088, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Esdirk23a" Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003992, allocations: 8 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1707, allocations: 83.42 MB / 0.5975 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.ScenarioAliquote): time 0.002161/0.1729, allocations: 0.9022 MB / 0.5984 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1747, allocations: 0.7917 MB / 0.5992 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.1749, allocations: 0 / 0.5992 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.1753, allocations: 47.77 kB / 0.5992 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.1757, allocations: 139.6 kB / 0.5994 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.1764, allocations: 238 kB / 0.5996 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.1767, allocations: 171.5 kB / 0.5997 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.1769, allocations: 52.34 kB / 0.5998 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.088e-05/0.177, allocations: 71.67 kB / 0.5999 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1771, allocations: 107.5 kB / 0.6 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1772, allocations: 4 kB / 0.6 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.1775, allocations: 147.8 kB / 0.6001 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.1776, allocations: 71.73 kB / 0.6002 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1777, allocations: 57.58 kB / 0.6002 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.178, allocations: 235.5 kB / 0.6005 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.178, allocations: 0 / 0.6005 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.178, allocations: 0 / 0.6005 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.178, allocations: 0 / 0.6005 GB, free: 4.707 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000716/0.1787, allocations: 0.5566 MB / 0.601 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1788, allocations: 12.03 kB / 0.601 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.942e-05/0.1789, allocations: 46.55 kB / 0.6011 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.179, allocations: 35.53 kB / 0.6011 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.1794, allocations: 325.1 kB / 0.6014 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1794, allocations: 12 kB / 0.6014 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1794, allocations: 15.98 kB / 0.6014 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.1796, allocations: 134.2 kB / 0.6016 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1797, allocations: 0 / 0.6016 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1797, allocations: 4 kB / 0.6016 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1797, allocations: 4 kB / 0.6016 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1798, allocations: 44.48 kB / 0.6016 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009643/0.1808, allocations: 0.65 MB / 0.6022 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1809, allocations: 86.56 kB / 0.6023 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.181, allocations: 32.84 kB / 0.6024 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.181, allocations: 3.984 kB / 0.6024 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1811, allocations: 38.56 kB / 0.6024 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1811, allocations: 4 kB / 0.6024 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002845/0.1814, allocations: 129.7 kB / 0.6025 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1814, allocations: 106.8 kB / 0.6026 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.182, allocations: 0.4938 MB / 0.6031 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.182, allocations: 29.64 kB / 0.6031 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1822, allocations: 188.1 kB / 0.6033 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.1822, allocations: 31.47 kB / 0.6033 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.1822, allocations: 4 kB / 0.6034 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1824, allocations: 350.8 kB / 0.6037 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.1824, allocations: 19.98 kB / 0.6037 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.1825, allocations: 65.08 kB / 0.6038 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.282e-05/0.1826, allocations: 31.98 kB / 0.6038 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1826, allocations: 8.031 kB / 0.6038 GB, free: 1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002093/0.1828, allocations: 141.1 kB / 0.6039 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1828, allocations: 4 kB / 0.6039 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1828, allocations: 4 kB / 0.6039 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1829, allocations: 0 / 0.6039 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.183, allocations: 19.98 kB / 0.604 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.183, allocations: 4 kB / 0.604 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.1831, allocations: 11.84 kB / 0.604 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1831, allocations: 4 kB / 0.604 GB, free: 0.8086 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (Integrateur.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.1833, allocations: 169.8 kB / 0.6041 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.1833, allocations: 39.52 kB / 0.6042 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.1836, allocations: 136.6 kB / 0.6043 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1836, allocations: 4 kB / 0.6043 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1836, allocations: 0 / 0.6043 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1836, allocations: 0 / 0.6043 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3666/0.5502, allocations: 484.4 kB / 0.6048 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5503, allocations: 1.812 kB / 0.6048 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.5504, allocations: 18.67 kB / 0.6048 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.5504, allocations: 0.5312 kB / 0.6048 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.5505, allocations: 8.5 kB / 0.6048 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5505, allocations: 2.078 kB / 0.6048 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5505, allocations: 1.625 kB / 0.6048 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.5508, allocations: 249.7 kB / 0.6051 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-05/0.5509, allocations: 128.1 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.551, allocations: 4.125 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.5511, allocations: 3.438 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.5512, allocations: 7.594 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.5512, allocations: 6.859 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003722/0.5516, allocations: 373.5 kB / 0.6055 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5516, allocations: 0 / 0.6055 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003682/0.5519, allocations: 56.61 kB / 0.6056 GB, free: 40.29 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Integrateur.y) * Number of discrete variables: 1 ($cse1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001745/0.5537, allocations: 1.344 MB / 0.6069 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.5539, allocations: 65.91 kB / 0.607 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5539, allocations: 0 / 0.607 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.554, allocations: 40.7 kB / 0.607 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.5544, allocations: 59.25 kB / 0.6071 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.5565, allocations: 1.751 MB / 0.6088 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.5568, allocations: 0.784 MB / 0.6095 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.5569, allocations: 46.5 kB / 0.6096 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.557, allocations: 101.5 kB / 0.6097 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of SimCode: time 1.603e-06/0.557, allocations: 0 / 0.6097 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.5733, allocations: 6.45 MB / 0.616 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/0.5735, allocations: 243.3 kB / 0.6162 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.43, allocations: 0 / 0.6162 GB, free: 37.45 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.ScenarioAliquote.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.ScenarioAliquote.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.ScenarioAliquote.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.ScenarioAliquote.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_ScenarioAliquote_fmu --startTime=0 --stopTime=3.1524e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_ScenarioAliquote.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.ScenarioAliquote.pipe 2>&1) Environment - environmentSimulation: