Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.001868/0.001868, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002367/0.002367, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.458/1.458, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",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.001833/0.001833, allocations: 59.94 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.246, allocations: 49.15 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004545/0.2505, allocations: 4.191 MB / 400.6 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.2524, allocations: 1.236 MB / 401.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.2527, allocations: 17.59 kB / 401.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.253, allocations: 114.1 kB / 401.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.2534, allocations: 253.3 kB / 402.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.254, allocations: 302.9 kB / 402.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008226/0.2548, allocations: 1.046 MB / 403.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.255, allocations: 176.1 kB / 403.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/0.2555, allocations: 426 kB / 404.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.2559, allocations: 405.1 kB / 404.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.2561, allocations: 88.5 kB / 404.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.2563, allocations: 117.1 kB / 404.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.2564, allocations: 196.6 kB / 404.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.2567, allocations: 363.9 kB / 405.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.2577, allocations: 1.007 MB / 406.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2577, allocations: 0 / 406.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2577, allocations: 4 kB / 406.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.2578, allocations: 0 / 406.2 MB, free: 3.012 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.00235/0.2601, allocations: 1.171 MB / 407.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.2602, allocations: 15.27 kB / 407.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.2603, allocations: 104 kB / 407.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.2604, allocations: 89.75 kB / 407.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.2611, allocations: 406.3 kB / 408 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.2611, allocations: 47.61 kB / 408.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/0.2612, allocations: 61.75 kB / 408.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.2626, allocations: 0.765 MB / 408.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.2626, allocations: 0 / 408.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.2627, allocations: 29.95 kB / 408.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.2627, allocations: 15.12 kB / 408.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.2643, allocations: 0.681 MB / 409.6 MB, free: 1.094 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.003389/0.2676, allocations: 1.818 MB / 411.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.2691, allocations: 0.5561 MB / 412 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/0.2699, allocations: 311.3 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.385e-05/0.2699, allocations: 13.69 kB / 412.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.271, allocations: 0.5438 MB / 412.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.094e-06/0.271, allocations: 0 / 412.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.06956/0.3406, allocations: 15.23 MB / 428.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.3407, allocations: 149.5 kB / 428.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.3414, allocations: 0.491 MB / 428.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002282/0.3417, allocations: 49.69 kB / 428.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.342, allocations: 376.7 kB / 429.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004079/0.3424, allocations: 333.1 kB / 429.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003905/0.3428, allocations: 174.6 kB / 429.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.343, allocations: 382.8 kB / 430 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.3452, allocations: 0.7743 MB / 430.8 MB, free: 276 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/0.3475, allocations: 1.064 MB / 431.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006376/0.3539, allocations: 1.662 MB / 433.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3539, allocations: 0 / 433.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02778/0.3817, allocations: 5.37 MB / 438.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.3818, allocations: 67.34 kB / 438.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.3818, allocations: 4 kB / 438.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03349/0.4153, allocations: 6.828 MB / 445.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/0.4161, allocations: 135.8 kB / 445.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006582/0.4227, allocations: 3.024 MB / 448.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.4244, allocations: 171.9 kB / 449.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.4246, allocations: 47.97 kB / 449.1 MB, free: 13.59 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.0004838/0.4251, allocations: 221.6 kB / 449.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.4253, allocations: 83.47 kB / 449.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02217/0.4475, allocations: 5.068 MB / 454.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.4475, allocations: 12 kB / 454.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.4475, allocations: 0 / 454.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.4475, allocations: 3.984 kB / 454.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.4492, allocations: 0.8419 MB / 455.4 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.4492, allocations: 0 / 455.4 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.4498, allocations: 99.81 kB / 455.5 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03291/0.4827, allocations: 6.773 MB / 462.2 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/0.4829, allocations: 31.91 kB / 462.3 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/0.489, allocations: 3.026 MB / 465.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.489, allocations: 4 kB / 465.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02453/0.5135, allocations: 5.944 MB / 471.2 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/0.5139, allocations: 71.5 kB / 471.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004851/0.5144, allocations: 23.94 kB / 471.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/0.5162, allocations: 171.8 kB / 471.5 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003834/0.5165, allocations: 100.8 kB / 471.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.5167, allocations: 27.98 kB / 471.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005732/0.5173, allocations: 338.9 kB / 472 MB, free: 6.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5173, allocations: 4 kB / 472 MB, free: 6.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001094/0.5183, allocations: 256 kB / 472.2 MB, free: 6.344 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.02509/0.5434, allocations: 6.518 MB / 478.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006449/0.5499, allocations: 2.024 MB / 480.8 MB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.5499, allocations: 0 / 480.8 MB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003566/0.5534, allocations: 1.023 MB / 481.8 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/0.5544, allocations: 126.2 kB / 481.9 MB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05429/0.6087, allocations: 15.93 MB / 497.8 MB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.6091, allocations: 348.9 kB / 498.2 MB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000338/0.6094, allocations: 50.03 kB / 498.2 MB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.6098, allocations: 271.3 kB / 498.5 MB, free: 11.64 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6098, allocations: 0 / 498.5 MB, free: 11.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06586/0.6757, allocations: 26.63 MB / 0.5128 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.52, allocations: 4 kB / 0.5128 GB, free: 0.8555 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0397062 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.002353104762733] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.655771487858146 14.671227119 14.410475879 Calling exit ...