Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 207 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 256 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8077/0.8077, allocations: 134 MB / 446.4 MB, free: 10.28 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 70.89 kB / 0.6185 GB, free: 7.293 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1592, allocations: 85.91 MB / 0.7024 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.009824/0.169, allocations: 7.076 MB / 0.7093 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5255/0.6946, allocations: 159.3 MB / 0.8649 GB, free: 444 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.6959, allocations: 35.75 kB / 0.8649 GB, free: 408 kB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001187/0.6971, allocations: 301.1 kB / 0.8652 GB, free: 104 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.6997, allocations: 0.7396 MB / 0.8659 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.703, allocations: 1.333 MB / 0.8672 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005461/0.7084, allocations: 4.571 MB / 0.8717 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002961/0.7114, allocations: 1.586 MB / 0.8732 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003486/0.7149, allocations: 1.86 MB / 0.8751 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002759/0.7176, allocations: 1.809 MB / 0.8768 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.7187, allocations: 472 kB / 0.8773 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.7213, allocations: 1.109 MB / 0.8784 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.7226, allocations: 0.997 MB / 0.8793 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002856/0.7255, allocations: 1.897 MB / 0.8812 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007307/0.7328, allocations: 5.635 MB / 0.8867 GB, free: 10 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7328, allocations: 4 kB / 0.8867 GB, free: 10 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7328, allocations: 3.938 kB / 0.8867 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001535/0.7329, allocations: 0 / 0.8867 GB, free: 9.996 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.009621/0.7426, allocations: 3.945 MB / 0.8906 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.7426, allocations: 12.03 kB / 0.8906 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001006/0.7436, allocations: 429.4 kB / 0.891 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.7588, allocations: 1.983 MB / 0.8929 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005229/0.7641, allocations: 2.168 MB / 0.895 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.7643, allocations: 222 kB / 0.8952 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.7653, allocations: 296 kB / 0.8955 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/0.7773, allocations: 4.456 MB / 0.8999 GB, free: 12.28 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.616e-05/0.7774, allocations: 3.938 kB / 0.8999 GB, free: 12.28 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007593/0.7781, allocations: 124 kB / 0.9 GB, free: 12.16 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-05/0.7782, allocations: 72 kB / 0.9001 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/0.7906, allocations: 4.909 MB / 0.9049 GB, free: 7.164 MB / 0.67 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.03041/0.821, allocations: 14.02 MB / 0.9185 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.8328, allocations: 3.894 MB / 0.9224 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004199/0.837, allocations: 1.568 MB / 0.9239 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009098/0.8379, allocations: 177.7 kB / 0.9241 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005289/0.8432, allocations: 2.036 MB / 0.926 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 6.682e-06/0.8432, allocations: 0 / 0.926 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01539/0.8586, allocations: 5.167 MB / 0.9311 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.8588, allocations: 205.9 kB / 0.9313 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/0.8623, allocations: 2.006 MB / 0.9332 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004706/0.8627, allocations: 65.7 kB / 0.9333 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.864, allocations: 1.234 MB / 0.9345 GB, free: 7.879 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/0.8651, allocations: 0.7513 MB / 0.9352 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/0.8665, allocations: 0.5033 MB / 0.9357 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8667, allocations: 301.1 kB / 0.936 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004063/0.8707, allocations: 1.554 MB / 0.9375 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004446/0.8752, allocations: 1.862 MB / 0.9394 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008434/0.8836, allocations: 3.405 MB / 0.9427 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/0.8836, allocations: 4 kB / 0.9427 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01132/0.8949, allocations: 3.909 MB / 0.9465 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.895, allocations: 10.5 kB / 0.9465 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.895, allocations: 12.75 kB / 0.9465 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006587/0.8957, allocations: 100.8 kB / 0.9466 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/0.8995, allocations: 0.6863 MB / 0.9473 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.902, allocations: 1.597 MB / 0.9489 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/0.9055, allocations: 426.2 kB / 0.9493 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006261/0.9061, allocations: 123.8 kB / 0.9494 GB, free: 8.328 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 12 (sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.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 (265): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00232/0.9084, allocations: 0.9402 MB / 0.9503 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009141/0.9094, allocations: 234.5 kB / 0.9505 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/0.9206, allocations: 4.205 MB / 0.9546 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.9206, allocations: 24 kB / 0.9546 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.9206, allocations: 4 kB / 0.9547 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/0.9206, allocations: 11.95 kB / 0.9547 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.9373, allocations: 7.863 MB / 0.9623 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.9373, allocations: 0 / 0.9623 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003079/0.9404, allocations: 0.5773 MB / 0.9629 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005174/0.9409, allocations: 84.72 kB / 0.963 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003738/0.9413, allocations: 63.89 kB / 0.963 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.9435, allocations: 1.618 MB / 0.9646 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9435, allocations: 0 / 0.9646 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009281/0.9527, allocations: 3.478 MB / 0.968 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/0.9548, allocations: 0.7069 MB / 0.9687 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006917/0.9555, allocations: 55.84 kB / 0.9688 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/0.9582, allocations: 275.6 kB / 0.969 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003575/0.9585, allocations: 153.7 kB / 0.9692 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000242/0.9588, allocations: 83.94 kB / 0.9693 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00282/0.9616, allocations: 1.535 MB / 0.9708 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9616, allocations: 0 / 0.9708 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002719/0.9643, allocations: 0.8919 MB / 0.9716 GB, free: 1.172 MB / 0.7325 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,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01132/0.9756, allocations: 4.631 MB / 0.9761 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009794/0.9854, allocations: 3.444 MB / 0.9795 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.9854, allocations: 0 / 0.9795 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004468/0.9899, allocations: 1.685 MB / 0.9812 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/0.9931, allocations: 453.9 kB / 0.9816 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05667/1.05, allocations: 24.39 MB / 1.005 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002895/1.053, allocations: 2.275 MB / 1.008 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003871/1.056, allocations: 0.9186 MB / 1.009 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002892/1.059, allocations: 1.264 MB / 1.01 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of SimCode: time 1.172e-06/1.059, allocations: 0 / 1.01 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4135/1.473, allocations: 63.25 MB / 1.072 GB, free: 301 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/17.76, allocations: 9.625 kB / 1.072 GB, free: 301 MB / 0.8262 GB " [Timeout remaining time 642] (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.497306457953528] Failed to read output from testmodel.py, exit status != 0: 18.004852311918512 18.018718632 17.283166208 Calling exit ...