Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.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.0008787/0.0008787, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0009323/0.0009323, allocations: 219.2 kB / 22.26 MB, free: 3.84 MB / 13.93 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 0.9751/0.9751, allocations: 230.6 MB / 256 MB, free: 9.797 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8033/0.8033, allocations: 203.8 MB / 0.5042 GB, free: 10.6 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.SimInfoManager,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManager,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager",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.001116/0.001116, allocations: 71.02 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5084/0.5095, allocations: 102 MB / 0.8178 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007881/0.5174, allocations: 7.901 MB / 0.8255 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1487/0.6661, allocations: 159.5 MB / 0.9813 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.6674, allocations: 43.69 kB / 0.9813 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.6682, allocations: 324.9 kB / 0.9816 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.6702, allocations: 0.8287 MB / 0.9824 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.6726, allocations: 1.385 MB / 0.9838 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003537/0.6761, allocations: 4.835 MB / 0.9885 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.6781, allocations: 1.593 MB / 0.9901 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.6805, allocations: 1.931 MB / 0.992 GB, free: 3.07 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.682, allocations: 1.871 MB / 0.9938 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004864/0.6825, allocations: 488 kB / 0.9943 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.684, allocations: 1.147 MB / 0.9954 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0005798/0.6846, allocations: 1.032 MB / 0.9964 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.6865, allocations: 1.975 MB / 0.9983 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.005006/0.6915, allocations: 5.806 MB / 1.004 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.6915, allocations: 0 / 1.004 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6915, allocations: 0 / 1.004 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001129/0.6916, allocations: 0 / 1.004 GB, free: 6.723 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 780 * Number of variables: 780 Notification: Performance of Generate backend data structure: time 0.00719/0.6988, allocations: 4.069 MB / 1.008 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.6989, allocations: 12.03 kB / 1.008 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004316/0.6993, allocations: 433.9 kB / 1.008 GB, free: 2.148 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.7106, allocations: 3.521 MB / 1.012 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003765/0.7144, allocations: 2.219 MB / 1.014 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.7145, allocations: 230.1 kB / 1.014 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004911/0.715, allocations: 300 kB / 1.014 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008916/0.7239, allocations: 5.411 MB / 1.02 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/0.724, allocations: 0 / 1.02 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/0.7243, allocations: 128 kB / 1.02 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.7243, allocations: 76 kB / 1.02 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.7351, allocations: 6.607 MB / 1.026 GB, free: 15.5 MB / 0.8073 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.02038/0.7554, allocations: 17.05 MB / 1.043 GB, free: 12.98 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008287/0.7637, allocations: 4.871 MB / 1.048 GB, free: 8.105 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004273/0.768, allocations: 2.462 MB / 1.05 GB, free: 5.641 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.7683, allocations: 137.9 kB / 1.05 GB, free: 5.508 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004917/0.7732, allocations: 3.019 MB / 1.053 GB, free: 2.469 MB / 0.823 GB Notification: Performance of pre-optimization done (n=223): time 3.937e-06/0.7732, allocations: 4 kB / 1.053 GB, free: 2.465 MB / 0.823 GB Notification: Performance of matching and sorting (n=223): time 0.01399/0.7872, allocations: 7.759 MB / 1.061 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.7873, allocations: 205.9 kB / 1.061 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.7897, allocations: 2.047 MB / 1.063 GB, free: 8.352 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002779/0.79, allocations: 65.7 kB / 1.063 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007975/0.7908, allocations: 1.242 MB / 1.064 GB, free: 7.027 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006276/0.7914, allocations: 0.7785 MB / 1.065 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00065/0.792, allocations: 0.5231 MB / 1.066 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.7921, allocations: 305.1 kB / 1.066 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004125/0.7962, allocations: 2.463 MB / 1.068 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004432/0.8007, allocations: 2.776 MB / 1.071 GB, free: 68 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008189/0.8089, allocations: 4.879 MB / 1.076 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.8089, allocations: 0 / 1.076 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01031/0.8192, allocations: 5.593 MB / 1.081 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.8192, allocations: 8 kB / 1.081 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.8192, allocations: 11.92 kB / 1.081 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.8196, allocations: 96.97 kB / 1.081 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/0.8225, allocations: 1.022 MB / 1.082 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.8241, allocations: 1.601 MB / 1.084 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/0.827, allocations: 0.74 MB / 1.085 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.8273, allocations: 132 kB / 1.085 GB, free: 1.777 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 21 (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.decAng.tNext,$PRE.sim.weaDat.decAng.tNext,sim.weaDat.eqnTim.tNext,$PRE.sim.weaDat.eqnTim.tNext,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,sim.weaDat.locTim.tNext,$PRE.sim.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 276 * 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.001636/0.829, allocations: 0.9487 MB / 1.086 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005329/0.8295, allocations: 238.5 kB / 1.086 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/0.8396, allocations: 5.956 MB / 1.092 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.8396, allocations: 35.92 kB / 1.092 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.8396, allocations: 0 / 1.092 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.8396, allocations: 11.95 kB / 1.092 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01604/0.8556, allocations: 10.9 MB / 1.102 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.8556, allocations: 0 / 1.102 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/0.8587, allocations: 0.9012 MB / 1.103 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003771/0.859, allocations: 80.78 kB / 1.103 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/0.8593, allocations: 79.88 kB / 1.103 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.8611, allocations: 1.613 MB / 1.105 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8611, allocations: 3.984 kB / 1.105 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.8714, allocations: 5.18 MB / 1.11 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/0.8728, allocations: 0.7811 MB / 1.111 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.8732, allocations: 63.78 kB / 1.111 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/0.8754, allocations: 0.5879 MB / 1.112 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.8756, allocations: 165.7 kB / 1.112 GB, free: 5.578 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/0.8758, allocations: 87.94 kB / 1.112 GB, free: 5.492 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001864/0.8776, allocations: 1.563 MB / 1.113 GB, free: 3.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8776, allocations: 4 kB / 1.113 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002032/0.8797, allocations: 0.9311 MB / 1.114 GB, free: 2.973 MB / 0.8855 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,sim.weaDat.locTim.tNext,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext,sim.weaDat.eqnTim.tNext,sim.weaDat.decAng.tNext) * Number of discrete states: 5 (sim.weaDat.locTim.tNext,sim.weaDat.conTim.tNext,sim.weaDat.eqnTim.tNext,sim.weaDat.decAng.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.01053/0.8902, allocations: 6.305 MB / 1.12 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0101/0.9003, allocations: 5.275 MB / 1.126 GB, free: 7.562 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.9003, allocations: 4.375 kB / 1.126 GB, free: 7.559 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004728/0.905, allocations: 2.602 MB / 1.128 GB, free: 4.945 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.9071, allocations: 473.6 kB / 1.129 GB, free: 4.504 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4025/1.31, allocations: 30 MB / 1.158 GB, free: 298.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/1.311, allocations: 2.302 MB / 1.16 GB, free: 297.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002798/1.314, allocations: 0.9656 MB / 1.161 GB, free: 297.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/1.316, allocations: 1.311 MB / 1.162 GB, free: 296.7 MB / 0.9167 GB Notification: Performance of SimCode: time 1.693e-06/1.316, allocations: 0 / 1.162 GB, free: 296.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08448/1.4, allocations: 67.69 MB / 1.228 GB, free: 250.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.95, allocations: 6.406 kB / 1.228 GB, free: 250.3 MB / 0.9167 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.072554026031867] Failed to read output from testmodel.py, exit status != 0: 12.125301118008792 12.131209482 11.438268763 Calling exit ...