Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.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.004359/0.004359, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001407/0.001407, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.33/1.33, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 179] 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.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources",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.001677/0.001677, allocations: 54.58 kB / 348 MB, free: 9.918 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.236, allocations: 49.15 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002815/0.2388, allocations: 1.776 MB / 398.9 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.2401, allocations: 0.9214 MB / 399.8 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.2402, allocations: 5.094 kB / 399.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006107/0.2408, allocations: 179.3 kB / 400 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.2411, allocations: 130.1 kB / 400.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.2414, allocations: 156.9 kB / 400.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.2417, allocations: 200.8 kB / 400.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2418, allocations: 23.92 kB / 400.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.2419, allocations: 87.33 kB / 400.6 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.242, allocations: 88.16 kB / 400.7 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.242, allocations: 10.94 kB / 400.7 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.2422, allocations: 64.81 kB / 400.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.2422, allocations: 48.66 kB / 400.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.2423, allocations: 61.95 kB / 400.8 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.2426, allocations: 216.7 kB / 401.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2426, allocations: 0.75 kB / 401.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2426, allocations: 0 / 401.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.2426, allocations: 1.5 kB / 401.1 MB, free: 6.535 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006769/0.2433, allocations: 471.2 kB / 401.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2433, allocations: 16.89 kB / 401.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.169e-05/0.2433, allocations: 2.938 kB / 401.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.359e-05/0.2434, allocations: 38.25 kB / 401.6 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.2434, allocations: 21.77 kB / 401.6 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.2437, allocations: 199.4 kB / 401.8 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.2437, allocations: 10.95 kB / 401.8 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.2437, allocations: 10.3 kB / 401.8 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.2439, allocations: 152.4 kB / 402 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2439, allocations: 1.312 kB / 402 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2439, allocations: 0 / 402 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2439, allocations: 2.094 kB / 402 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.2441, allocations: 51.91 kB / 402 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.2445, allocations: 0.566 MB / 402.6 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.2448, allocations: 118 kB / 402.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-05/0.2449, allocations: 53.11 kB / 402.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.2449, allocations: 2.766 kB / 402.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.2451, allocations: 119.8 kB / 402.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.2451, allocations: 0 / 402.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004095/0.2455, allocations: 181 kB / 403 MB, free: 4.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2455, allocations: 134.3 kB / 403.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.2458, allocations: 291.8 kB / 403.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.2458, allocations: 34.92 kB / 403.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.2458, allocations: 130.8 kB / 403.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.2459, allocations: 31.08 kB / 403.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.2459, allocations: 32.42 kB / 403.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.246, allocations: 339.5 kB / 404 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.83e-05/0.2461, allocations: 30.2 kB / 404 MB, free: 4.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.2462, allocations: 140.6 kB / 404.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.2463, allocations: 101.5 kB / 404.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2463, allocations: 4.031 kB / 404.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002407/0.2466, allocations: 146.4 kB / 404.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2466, allocations: 5.375 kB / 404.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2466, allocations: 1.766 kB / 404.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2466, allocations: 2.625 kB / 404.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.2467, allocations: 13.67 kB / 404.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2467, allocations: 7.172 kB / 404.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.2468, allocations: 14.34 kB / 404.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.2468, allocations: 17.34 kB / 404.5 MB, free: 3.715 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.631e-05/0.2469, allocations: 140.5 kB / 404.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.2469, allocations: 18.61 kB / 404.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.2472, allocations: 121 kB / 404.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2472, allocations: 2.281 kB / 404.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2472, allocations: 4.938 kB / 404.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2472, allocations: 1.125 kB / 404.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.2473, allocations: 200.4 kB / 405 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2473, allocations: 1.094 kB / 405 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.2474, allocations: 12.61 kB / 405 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2474, allocations: 2.25 kB / 405 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2474, allocations: 1.125 kB / 405 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2474, allocations: 2.406 kB / 405 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2474, allocations: 7.938 kB / 405 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.2476, allocations: 187.3 kB / 405.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.2477, allocations: 17.88 kB / 405.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.2477, allocations: 7.062 kB / 405.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-05/0.2478, allocations: 9.938 kB / 405.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.2479, allocations: 27.61 kB / 405.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2479, allocations: 5.281 kB / 405.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.248, allocations: 214.1 kB / 405.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.248, allocations: 0 / 405.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.2483, allocations: 38 kB / 405.5 MB, free: 3.031 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001778/0.2501, allocations: 1.068 MB / 406.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002441/0.2503, allocations: 91.69 kB / 406.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2503, allocations: 1.438 kB / 406.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.2504, allocations: 51.77 kB / 406.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.2508, allocations: 63.78 kB / 406.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.2527, allocations: 2.183 MB / 408.9 MB, free: 444 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.775e-05/0.2528, allocations: 127.9 kB / 409.1 MB, free: 356 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.79e-05/0.2529, allocations: 21.64 kB / 409.1 MB, free: 356 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.385e-05/0.253, allocations: 56.53 kB / 409.1 MB, free: 316 kB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.253, allocations: 5.375 kB / 409.1 MB, free: 312 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.279, allocations: 5.584 MB / 414.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.06, allocations: 6.578 kB / 414.7 MB, free: 13.79 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources_fmu --startTime=0 --stopTime=10 --stepSize=0.00199283 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.333318826975301] Failed to read output from testmodel.py, exit status != 0: ['time', 'table.y'] 11.27861967496574 11.298897594 11.053043287 Calling exit ...