Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3.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.001461/0.001461, allocations: 103.2 kB / 21.96 MB, free: 5.215 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.001387/0.001387, allocations: 214.5 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.StateGraph.Examples.FirstExample_Variant3,fileNamePrefix="Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample_Variant3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.FirstExample_Variant3,fileNamePrefix="Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample_Variant3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001721/0.001721, allocations: 55.92 kB / 348 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2531, allocations: 49.15 MB / 397.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.002656/0.2557, allocations: 1.656 MB / 398.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005511/0.2563, allocations: 260.8 kB / 399 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.2564, allocations: 7.375 kB / 399 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.2565, allocations: 22.62 kB / 399 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.813e-05/0.2565, allocations: 23.69 kB / 399.1 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.2569, allocations: 125.5 kB / 399.2 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.2572, allocations: 278.2 kB / 399.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.2574, allocations: 151.6 kB / 399.6 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.135e-05/0.2575, allocations: 95.67 kB / 399.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.2576, allocations: 104.3 kB / 399.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.2577, allocations: 22.47 kB / 399.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.2577, allocations: 33.19 kB / 399.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.2578, allocations: 56.34 kB / 399.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.2579, allocations: 77.44 kB / 400 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.2582, allocations: 254 kB / 400.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2582, allocations: 1.5 kB / 400.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2582, allocations: 0 / 400.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.2582, allocations: 0 / 400.2 MB, free: 6.977 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005429/0.2587, allocations: 423.2 kB / 400.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2588, allocations: 14.61 kB / 400.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.889e-05/0.2588, allocations: 6.625 kB / 400.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.2588, allocations: 56.91 kB / 400.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.2589, allocations: 29.75 kB / 400.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.2591, allocations: 171.7 kB / 400.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.2592, allocations: 24.98 kB / 401 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.2592, allocations: 27.69 kB / 401 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.2596, allocations: 277.7 kB / 401.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2596, allocations: 0 / 401.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.2597, allocations: 11.25 kB / 401.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.2597, allocations: 6.719 kB / 401.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.2599, allocations: 164.3 kB / 401.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008928/0.2608, allocations: 0.8864 MB / 402.3 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.2611, allocations: 143.8 kB / 402.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.939e-05/0.2612, allocations: 67.14 kB / 402.5 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.2612, allocations: 2.562 kB / 402.5 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.2614, allocations: 119.7 kB / 402.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.2614, allocations: 1.062 kB / 402.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0003805/0.2618, allocations: 219.6 kB / 402.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.2618, allocations: 55.69 kB / 402.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.2619, allocations: 158.7 kB / 403.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.2619, allocations: 38.72 kB / 403.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.262, allocations: 140.3 kB / 403.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.262, allocations: 66.48 kB / 403.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.2621, allocations: 79.03 kB / 403.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.2621, allocations: 337.3 kB / 403.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.2622, allocations: 60.2 kB / 403.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.2624, allocations: 139.5 kB / 403.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.2626, allocations: 188.9 kB / 404.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2626, allocations: 1.062 kB / 404.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003371/0.2629, allocations: 250.9 kB / 404.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2629, allocations: 5.844 kB / 404.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2629, allocations: 6.078 kB / 404.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.263, allocations: 4.375 kB / 404.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.2631, allocations: 34.23 kB / 404.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2631, allocations: 6.375 kB / 404.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/0.2632, allocations: 32.69 kB / 404.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.2632, allocations: 14.53 kB / 404.4 MB, free: 3.914 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,stateGraphRoot.activeSteps,timer.entryTime,$PRE.timer.entryTime,transition2.enableFire,transition2.localCondition,step.active,step.oldActive,$PRE.step.oldActive,step.newActive,$PRE.step.newActive,step.localActive,$PRE.step.localActive,transition1.t_start,$PRE.transition1.t_start,transition1.fire,transition1.enableFire,initialStep.oldActive,$PRE.initialStep.oldActive,initialStep.newActive,$PRE.initialStep.newActive,initialStep.localActive,$PRE.initialStep.localActive,initialStep.active,$whenCondition1,$whenCondition2,stateGraphRoot.resume,stateGraphRoot.suspend,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.2633, allocations: 155.8 kB / 404.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.2634, allocations: 11.8 kB / 404.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.2637, allocations: 193.8 kB / 404.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.2637, allocations: 2 kB / 404.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2637, allocations: 5.219 kB / 404.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2637, allocations: 1.594 kB / 404.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.2643, allocations: 0.5526 MB / 405.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2643, allocations: 0 / 405.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.2644, allocations: 22.06 kB / 405.4 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2644, allocations: 1.312 kB / 405.4 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2644, allocations: 6.094 kB / 405.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2644, allocations: 5.219 kB / 405.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2644, allocations: 0.75 kB / 405.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.2647, allocations: 272 kB / 405.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.2647, allocations: 21.19 kB / 405.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.2647, allocations: 11.2 kB / 405.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.2648, allocations: 11.97 kB / 405.7 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.2649, allocations: 25.55 kB / 405.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.2649, allocations: 6.562 kB / 405.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.131e-05/0.2649, allocations: 103.9 kB / 405.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2649, allocations: 1.031 kB / 405.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.2652, allocations: 50.08 kB / 405.9 MB, free: 2.922 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (step.localActive,transition1.enableFire,step.active,initialStep.active,$cse1,$cse2,$whenCondition2,$whenCondition1,initialStep.localActive,initialStep.newActive,initialStep.oldActive,transition1.fire,transition1.t_start,step.newActive,step.oldActive,transition2.localCondition,transition2.enableFire,timer.entryTime,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004017/0.2656, allocations: 0.8162 MB / 406.7 MB, free: 2.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.2659, allocations: 173.3 kB / 406.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2659, allocations: 0 / 406.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.266, allocations: 71.77 kB / 406.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.2663, allocations: 25.75 kB / 407 MB, free: 2.117 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.268, allocations: 2.05 MB / 409 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.2681, allocations: 126.3 kB / 409.1 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.217e-05/0.2682, allocations: 25.3 kB / 409.2 MB, free: 396 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-05/0.2683, allocations: 67.89 kB / 409.2 MB, free: 352 kB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2683, allocations: 0 / 409.2 MB, free: 352 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.2924, allocations: 4.032 MB / 413.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.02, allocations: 10.97 kB / 413.3 MB, free: 14.77 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample_Variant3_fmu --startTime=0 --stopTime=5 --stepSize=0.000998203 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample_Variant3.fmu > Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.36407234298531] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 11.18533291190397 11.214267329 10.950730708 Calling exit ...