Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001712/0.001712, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 214.2 kB / 24.52 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.629/1.629, allocations: 230.5 MB / 258.2 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 63.91 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4033, allocations: 53.41 MB / 431.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.004771/0.4081, allocations: 1.813 MB / 433.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.4108, allocations: 1.114 MB / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.411, allocations: 4 kB / 434.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009321/0.4119, allocations: 179.5 kB / 435 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006558/0.4126, allocations: 174.3 kB / 435.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.4131, allocations: 131.6 kB / 435.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.4135, allocations: 219.4 kB / 435.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.4137, allocations: 21.72 kB / 435.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.4139, allocations: 91.58 kB / 435.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.4141, allocations: 91.66 kB / 435.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.4142, allocations: 12 kB / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.4144, allocations: 59.95 kB / 435.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.4145, allocations: 51.77 kB / 435.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.4146, allocations: 63.55 kB / 435.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.4151, allocations: 236.7 kB / 436.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.872e-06/0.4151, allocations: 0 / 436.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4151, allocations: 0 / 436.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.4151, allocations: 4 kB / 436.1 MB, free: 2.211 MB / 334.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.00126/0.4164, allocations: 466.7 kB / 436.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.4164, allocations: 8.031 kB / 436.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.729e-05/0.4164, allocations: 8.125 kB / 436.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.4165, allocations: 34.73 kB / 436.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.396e-05/0.4166, allocations: 28.8 kB / 436.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.417, allocations: 213.1 kB / 436.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.4171, allocations: 4.375 kB / 436.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.4171, allocations: 12.38 kB / 436.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.4174, allocations: 147.5 kB / 437 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4175, allocations: 0 / 437 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.4175, allocations: 8 kB / 437 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4175, allocations: 0 / 437 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.4177, allocations: 51.91 kB / 437.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008986/0.4186, allocations: 0.5628 MB / 437.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.4189, allocations: 119.9 kB / 437.8 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.419, allocations: 54.56 kB / 437.8 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.419, allocations: 4 kB / 437.8 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.4193, allocations: 125.8 kB / 438 MB, free: 184 kB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.4193, allocations: 0 / 438 MB, free: 184 kB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005379/0.4198, allocations: 177.4 kB / 438.1 MB, free: 0 / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.4199, allocations: 132.6 kB / 438.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.4203, allocations: 297 kB / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.4203, allocations: 33.83 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.4205, allocations: 128.3 kB / 438.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.4205, allocations: 31.81 kB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-05/0.4206, allocations: 37.7 kB / 438.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.4208, allocations: 334.8 kB / 439.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4209, allocations: 35.92 kB / 439.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.4211, allocations: 141.3 kB / 439.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.4213, allocations: 96.25 kB / 439.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4213, allocations: 0 / 439.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003233/0.4216, allocations: 154 kB / 439.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4216, allocations: 4 kB / 439.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4216, allocations: 4 kB / 439.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.4217, allocations: 0 / 439.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.4218, allocations: 15.98 kB / 439.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4218, allocations: 0 / 439.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.4219, allocations: 27.95 kB / 439.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4219, allocations: 11.94 kB / 439.6 MB, free: 14.43 MB / 350.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 0.0001846/0.4221, allocations: 141.8 kB / 439.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.4222, allocations: 27.86 kB / 439.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.4225, allocations: 107.4 kB / 439.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4225, allocations: 4 kB / 439.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4225, allocations: 0 / 439.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4225, allocations: 4 kB / 439.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.4227, allocations: 208.6 kB / 440.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4227, allocations: 4 kB / 440.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.4228, allocations: 11.94 kB / 440.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4228, allocations: 0 / 440.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4228, allocations: 3.984 kB / 440.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.4228, allocations: 4 kB / 440.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4228, allocations: 80 / 440.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.4232, allocations: 198.5 kB / 440.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.4232, allocations: 23.78 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.4232, allocations: 11.98 kB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4233, allocations: 15.98 kB / 440.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.4234, allocations: 15.92 kB / 440.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.4234, allocations: 4 kB / 440.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.4237, allocations: 220.4 kB / 440.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4237, allocations: 0 / 440.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.424, allocations: 40 kB / 440.6 MB, free: 13.32 MB / 350.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.002378/0.4264, allocations: 1.049 MB / 441.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.4267, allocations: 95.89 kB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4267, allocations: 0 / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.4268, allocations: 47.92 kB / 441.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.4272, allocations: 66.91 kB / 441.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.4305, allocations: 2.197 MB / 444.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.4306, allocations: 127.5 kB / 444.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.4307, allocations: 29.56 kB / 444.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.4309, allocations: 67.41 kB / 444.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4309, allocations: 0 / 444.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.4637, allocations: 5.681 MB / 450 MB, free: 4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.52, allocations: 14.03 kB / 450 MB, free: 3.992 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources_fmu --startTime=0 --stopTime=10 --stepSize=0.00199283 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources.fmu > Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.282640308025293] Failed to read output from testmodel.py, exit status != 0: ['time', 'table.y'] 11.733040999039076 11.749367612 11.330600788 Calling exit ...