Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 187.7 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 47.92 kB / 370.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2539, allocations: 52.17 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006321/0.2603, allocations: 4.408 MB / 427 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.2633, allocations: 1.237 MB / 428.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007106/0.264, allocations: 11.94 kB / 428.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.2645, allocations: 126.7 kB / 428.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008713/0.2654, allocations: 257.6 kB / 428.6 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009082/0.2663, allocations: 319.5 kB / 428.9 MB, free: 8.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.2678, allocations: 1.091 MB / 430 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004079/0.2682, allocations: 176.7 kB / 430.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006923/0.2689, allocations: 434.5 kB / 430.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007918/0.2697, allocations: 418 kB / 431 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.2699, allocations: 92 kB / 431.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.2702, allocations: 120 kB / 431.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.2705, allocations: 199.3 kB / 431.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005739/0.271, allocations: 378.3 kB / 431.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.2724, allocations: 1.05 MB / 432.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2724, allocations: 3.984 kB / 432.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2724, allocations: 0 / 432.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.476e-05/0.2724, allocations: 0 / 432.9 MB, free: 4.059 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002984/0.2754, allocations: 1.206 MB / 434.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2754, allocations: 8.031 kB / 434.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.2756, allocations: 106.7 kB / 434.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.2758, allocations: 96.38 kB / 434.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008306/0.2766, allocations: 434 kB / 434.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.2767, allocations: 49.69 kB / 434.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2768, allocations: 60.38 kB / 434.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.2783, allocations: 0.784 MB / 435.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.2783, allocations: 0 / 435.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.2784, allocations: 28 kB / 435.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.2784, allocations: 16 kB / 435.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.2801, allocations: 0.6921 MB / 436.3 MB, free: 484 kB / 334.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.004064/0.2842, allocations: 1.893 MB / 438.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.2856, allocations: 0.5592 MB / 438.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007444/0.2863, allocations: 306 kB / 439.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.2864, allocations: 4.438 kB / 439.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.2874, allocations: 0.541 MB / 439.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.325e-06/0.2874, allocations: 0 / 439.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06768/0.3551, allocations: 15.24 MB / 454.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.3552, allocations: 145.5 kB / 455 MB, free: 13.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000774/0.356, allocations: 0.5263 MB / 455.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.3562, allocations: 49.7 kB / 455.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.3565, allocations: 392.7 kB / 456 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.3569, allocations: 333.2 kB / 456.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/0.3573, allocations: 186.6 kB / 456.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.3576, allocations: 390.7 kB / 456.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/0.3597, allocations: 0.7785 MB / 457.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.3621, allocations: 1.088 MB / 458.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004244/0.3663, allocations: 1.697 MB / 460.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3663, allocations: 0 / 460.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02303/0.3893, allocations: 5.397 MB / 465.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/0.3894, allocations: 63.41 kB / 465.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.3894, allocations: 4 kB / 465.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03327/0.4227, allocations: 6.829 MB / 472.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.4234, allocations: 151.7 kB / 472.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/0.4297, allocations: 3.02 MB / 475.9 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.4313, allocations: 179.8 kB / 476 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.4314, allocations: 47.92 kB / 476.1 MB, free: 8.059 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (54): * Single equations (assignments): 50 * 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.0004459/0.4319, allocations: 229.6 kB / 476.3 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.4321, allocations: 83.48 kB / 476.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02215/0.4542, allocations: 5.056 MB / 481.4 MB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.4542, allocations: 11.98 kB / 481.5 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4542, allocations: 0 / 481.5 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.4543, allocations: 3.984 kB / 481.5 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.4558, allocations: 0.8542 MB / 482.3 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4558, allocations: 4 kB / 482.3 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/0.4563, allocations: 88.14 kB / 482.4 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03343/0.4898, allocations: 6.785 MB / 489.2 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/0.49, allocations: 31.97 kB / 489.2 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006194/0.4962, allocations: 3.04 MB / 492.3 MB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4962, allocations: 0 / 492.3 MB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02385/0.52, allocations: 5.945 MB / 498.2 MB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.5203, allocations: 79.39 kB / 498.3 MB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.5205, allocations: 27.94 kB / 498.3 MB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.5221, allocations: 163.8 kB / 498.5 MB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.5224, allocations: 104.8 kB / 498.6 MB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.5225, allocations: 35.97 kB / 498.6 MB, free: 1.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004809/0.523, allocations: 354.8 kB / 499 MB, free: 1.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.523, allocations: 0 / 499 MB, free: 1.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001179/0.5242, allocations: 259.9 kB / 499.2 MB, free: 0.7578 MB / 398.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.02554/0.5497, allocations: 6.532 MB / 0.4939 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006227/0.5559, allocations: 2.028 MB / 0.4959 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5559, allocations: 0 / 0.4959 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003441/0.5594, allocations: 1.012 MB / 0.4969 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007902/0.5602, allocations: 134.4 kB / 0.497 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05444/0.6146, allocations: 16.14 MB / 0.5127 GB, free: 6.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.6149, allocations: 357.7 kB / 0.5131 GB, free: 6.078 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.6152, allocations: 54.28 kB / 0.5131 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/0.6156, allocations: 279.3 kB / 0.5134 GB, free: 5.75 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6156, allocations: 0 / 0.5134 GB, free: 5.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2761/0.8918, allocations: 27.04 MB / 0.5398 GB, free: 117.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.41, allocations: 4.219 kB / 0.5398 GB, free: 117.3 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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.0396747 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.85959232132882] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.537081637885422 14.553643101 14.277924202 Calling exit ...