Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.008495/0.008495, 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.002152/0.002152, 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.333/1.333, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.Electrical.Analog.Examples.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",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.001636/0.001636, allocations: 51.92 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2266, allocations: 49.16 MB / 397.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.004188/0.2307, allocations: 4.191 MB / 401.3 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.2325, allocations: 1.233 MB / 402.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.2328, allocations: 12.56 kB / 402.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.233, allocations: 119.2 kB / 402.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.2334, allocations: 257.8 kB / 402.9 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.2339, allocations: 298.5 kB / 403.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007979/0.2347, allocations: 1.049 MB / 404.3 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.235, allocations: 195.9 kB / 404.5 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.2354, allocations: 424.3 kB / 404.9 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.2358, allocations: 462.1 kB / 405.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.2359, allocations: 91.92 kB / 405.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.2361, allocations: 114 kB / 405.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.2363, allocations: 200.7 kB / 405.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003061/0.2366, allocations: 365.1 kB / 406.1 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009035/0.2375, allocations: 1.011 MB / 407.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2375, allocations: 0 / 407.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2375, allocations: 0 / 407.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.2375, allocations: 0 / 407.1 MB, free: 2.945 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002097/0.2396, allocations: 1.164 MB / 408.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2396, allocations: 13.58 kB / 408.3 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.264e-05/0.2396, allocations: 15.25 kB / 408.3 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.2398, allocations: 110.4 kB / 408.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.2399, allocations: 92.42 kB / 408.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.2404, allocations: 403.5 kB / 408.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.2405, allocations: 47.33 kB / 408.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-05/0.2406, allocations: 62.22 kB / 409 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.2418, allocations: 0.7641 MB / 409.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2418, allocations: 0.6094 kB / 409.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.808e-05/0.2419, allocations: 26.23 kB / 409.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.2419, allocations: 13.97 kB / 409.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.2434, allocations: 0.6818 MB / 410.5 MB, free: 1.035 MB / 318.1 MB 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.003044/0.2464, allocations: 1.822 MB / 412.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.2478, allocations: 0.548 MB / 412.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/0.2485, allocations: 314.5 kB / 413.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.808e-05/0.2485, allocations: 14.77 kB / 413.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009757/0.2495, allocations: 0.5432 MB / 413.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.194e-06/0.2495, allocations: 0 / 413.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.06866/0.3182, allocations: 15.24 MB / 429 MB, free: 2.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.3183, allocations: 141.5 kB / 429.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007094/0.319, allocations: 0.4911 MB / 429.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002251/0.3192, allocations: 41.7 kB / 429.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.3196, allocations: 376.7 kB / 430 MB, free: 1.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.3199, allocations: 329.2 kB / 430.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004423/0.3203, allocations: 174.6 kB / 430.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3205, allocations: 386.8 kB / 430.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.3225, allocations: 0.7704 MB / 431.6 MB, free: 208 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/0.3248, allocations: 1.064 MB / 432.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/0.3287, allocations: 1.662 MB / 434.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.3288, allocations: 4 kB / 434.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02357/0.3523, allocations: 5.374 MB / 439.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.423e-05/0.3524, allocations: 63.41 kB / 439.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.3524, allocations: 7.984 kB / 439.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03448/0.3869, allocations: 6.836 MB / 446.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/0.3876, allocations: 143.8 kB / 446.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/0.3946, allocations: 3.169 MB / 450 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.3963, allocations: 179.8 kB / 450.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.3964, allocations: 43.98 kB / 450.2 MB, free: 13.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004334/0.3968, allocations: 229.6 kB / 450.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.397, allocations: 79.47 kB / 450.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0226/0.4196, allocations: 5.072 MB / 455.6 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.4196, allocations: 12 kB / 455.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.4196, allocations: 0 / 455.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.979e-05/0.4196, allocations: 3.984 kB / 455.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.4212, allocations: 0.8419 MB / 456.4 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4212, allocations: 0 / 456.4 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.4217, allocations: 95.88 kB / 456.5 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03479/0.4565, allocations: 6.789 MB / 463.3 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/0.4567, allocations: 23.98 kB / 463.3 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005947/0.4627, allocations: 3.049 MB / 466.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4627, allocations: 0 / 466.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02509/0.4877, allocations: 5.948 MB / 472.3 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.488, allocations: 71.56 kB / 472.4 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/0.4883, allocations: 23.94 kB / 472.4 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.4897, allocations: 171.8 kB / 472.6 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/0.49, allocations: 96.83 kB / 472.7 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.4901, allocations: 31.98 kB / 472.7 MB, free: 6.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004185/0.4906, allocations: 334.9 kB / 473 MB, free: 6.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4906, allocations: 0 / 473 MB, free: 6.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008289/0.4914, allocations: 263.9 kB / 473.3 MB, free: 6.074 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02568/0.5171, allocations: 6.518 MB / 479.8 MB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007076/0.5241, allocations: 2.149 MB / 481.9 MB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5242, allocations: 320 / 482 MB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003604/0.5278, allocations: 1.023 MB / 483 MB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.5287, allocations: 142 kB / 483.1 MB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05611/0.5848, allocations: 15.91 MB / 499 MB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.5851, allocations: 348.9 kB / 499.4 MB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.5854, allocations: 58.06 kB / 499.4 MB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.5858, allocations: 259.3 kB / 499.7 MB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5858, allocations: 3.938 kB / 499.7 MB, free: 11.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/0.6441, allocations: 26.23 MB / 0.5136 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.67, allocations: 11.98 kB / 0.5136 GB, free: 0.8555 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396668 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.91891321807634] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.857053803978488 14.880832194 14.64025889 Calling exit ...