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.001158/0.001158, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006669/0.006669, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8454/0.8454, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 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.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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 298.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.731e-05, allocations: 6.219 kB / 298.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.1314/0.1314, allocations: 4.193 MB / 302.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.133, allocations: 1.23 MB / 303.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.1332, allocations: 11 kB / 303.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.1334, allocations: 116.6 kB / 304 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.1337, allocations: 266.3 kB / 304.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.1341, allocations: 303.5 kB / 304.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006091/0.1347, allocations: 1.09 MB / 305.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.1349, allocations: 175.2 kB / 305.8 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004406/0.1354, allocations: 0.5873 MB / 306.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.1357, allocations: 354.4 kB / 306.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.559e-05/0.1358, allocations: 88.66 kB / 306.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.136, allocations: 113 kB / 307 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1361, allocations: 205.5 kB / 307.2 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.1363, allocations: 311.9 kB / 307.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007654/0.1371, allocations: 1.049 MB / 308.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1371, allocations: 0 / 308.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1371, allocations: 1 kB / 308.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.1371, allocations: 0 / 308.5 MB, free: 11.24 MB / 282.7 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.001362/0.1385, allocations: 1.156 MB / 309.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1385, allocations: 14.94 kB / 309.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.753e-05/0.1386, allocations: 105.2 kB / 309.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.187e-05/0.1387, allocations: 93.41 kB / 309.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.1391, allocations: 410.3 kB / 310.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.1392, allocations: 47.17 kB / 310.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.1393, allocations: 65.59 kB / 310.4 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.1405, allocations: 0.7565 MB / 311.1 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.1405, allocations: 2.188 kB / 311.1 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.329e-05/0.1406, allocations: 29.84 kB / 311.2 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.1406, allocations: 17.88 kB / 311.2 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.1418, allocations: 0.6712 MB / 311.9 MB, free: 9.383 MB / 282.7 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.002112/0.1439, allocations: 1.839 MB / 313.7 MB, free: 8.316 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008144/0.1447, allocations: 0.5515 MB / 314.3 MB, free: 8.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004204/0.1452, allocations: 307 kB / 314.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.1452, allocations: 8.719 kB / 314.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005688/0.1458, allocations: 0.5446 MB / 315.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 1.714e-06/0.1458, allocations: 0 / 315.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=94): time 0.0322/0.178, allocations: 15.24 MB / 330.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.178, allocations: 149.5 kB / 330.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.1785, allocations: 0.4949 MB / 331 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/0.1786, allocations: 41.7 kB / 331 MB, free: 13.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.1788, allocations: 364.8 kB / 331.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.179, allocations: 329.2 kB / 331.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.1792, allocations: 178.6 kB / 331.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1793, allocations: 382.8 kB / 332.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.1806, allocations: 0.7743 MB / 333 MB, free: 11.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.1818, allocations: 1.056 MB / 334.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/0.1841, allocations: 1.67 MB / 335.8 MB, free: 8.949 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.1841, allocations: 4 kB / 335.8 MB, free: 8.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01121/0.1953, allocations: 5.362 MB / 341.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.1953, allocations: 63.39 kB / 341.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.1953, allocations: 12.06 kB / 341.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0157/0.211, allocations: 6.824 MB / 348 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.2114, allocations: 143.7 kB / 348.2 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003715/0.2151, allocations: 3.02 MB / 351.2 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/0.2159, allocations: 178.3 kB / 351.4 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/0.216, allocations: 47.97 kB / 351.4 MB, free: 9.176 MB / 314.7 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.0003052/0.2163, allocations: 217.7 kB / 351.6 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.2164, allocations: 86.47 kB / 351.7 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/0.2268, allocations: 5.057 MB / 356.8 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.2268, allocations: 12 kB / 356.8 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2268, allocations: 0 / 356.8 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.2268, allocations: 11.92 kB / 356.8 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008285/0.2277, allocations: 0.8396 MB / 357.6 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.2277, allocations: 0 / 357.6 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.2281, allocations: 95.88 kB / 357.7 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01512/0.2432, allocations: 6.77 MB / 364.5 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/0.2433, allocations: 27.92 kB / 364.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/0.2468, allocations: 3.045 MB / 367.6 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2468, allocations: 0.875 kB / 367.6 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/0.2595, allocations: 5.945 MB / 373.5 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/0.2596, allocations: 67.52 kB / 373.6 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-05/0.2597, allocations: 23.92 kB / 373.6 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.2603, allocations: 167.9 kB / 373.8 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.2605, allocations: 107.8 kB / 373.9 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/0.2606, allocations: 35.97 kB / 373.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000251/0.2608, allocations: 338.8 kB / 374.2 MB, free: 2.184 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2608, allocations: 0 / 374.2 MB, free: 2.184 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005163/0.2613, allocations: 252 kB / 374.5 MB, free: 1.938 MB / 330.7 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.01235/0.2737, allocations: 6.514 MB / 381 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003234/0.2769, allocations: 2.012 MB / 383 MB, free: 9.336 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2769, allocations: 4 kB / 383 MB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.2787, allocations: 1.02 MB / 384 MB, free: 8.312 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.2791, allocations: 135.7 kB / 384.1 MB, free: 8.188 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02742/0.3066, allocations: 15.91 MB / 400.1 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.3068, allocations: 352.8 kB / 400.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.3069, allocations: 58.06 kB / 400.5 MB, free: 7.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.3072, allocations: 264.4 kB / 400.7 MB, free: 7.277 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3072, allocations: 3.938 kB / 400.7 MB, free: 7.273 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.341, allocations: 26.66 MB / 427.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.748/9.089, allocations: 3.953 kB / 427.4 MB, free: 12.47 MB / 394.7 MB " [Timeout remaining time 651] (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: 10.77610456943512] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 9.19393896497786 9.204928205 9.066090163 Calling exit ...