Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.001641/0.001641, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002138/0.002138, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 64.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2639, allocations: 53.38 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006037/0.27, allocations: 4.989 MB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.2728, allocations: 1.291 MB / 438.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004037/0.2732, allocations: 19.88 kB / 438.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.2736, allocations: 122.7 kB / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004935/0.2741, allocations: 261.7 kB / 438.6 MB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007252/0.2748, allocations: 311.5 kB / 438.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.2758, allocations: 1.099 MB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.2762, allocations: 183 kB / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005154/0.2767, allocations: 434.5 kB / 440.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000582/0.2773, allocations: 482 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.2774, allocations: 92 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.2776, allocations: 116 kB / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.2778, allocations: 203.3 kB / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004073/0.2782, allocations: 453.8 kB / 441.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.2793, allocations: 1.031 MB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2793, allocations: 0 / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2793, allocations: 0 / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.2793, allocations: 0 / 443 MB, free: 11.8 MB / 350.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.002474/0.2818, allocations: 1.217 MB / 444.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2818, allocations: 8.031 kB / 444.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.2819, allocations: 110.7 kB / 444.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.2821, allocations: 100.3 kB / 444.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006849/0.2828, allocations: 422.1 kB / 444.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.2828, allocations: 49.69 kB / 444.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.2829, allocations: 68.33 kB / 444.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.2843, allocations: 0.6585 MB / 445.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.2843, allocations: 0 / 445.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.188e-05/0.2844, allocations: 24 kB / 445.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.2844, allocations: 19.94 kB / 445.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.286, allocations: 0.7 MB / 446.3 MB, free: 8.348 MB / 350.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.003886/0.2899, allocations: 2.308 MB / 448.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.2913, allocations: 0.556 MB / 449.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006919/0.292, allocations: 317.9 kB / 449.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.292, allocations: 8.422 kB / 449.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009084/0.2929, allocations: 437.4 kB / 449.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.144e-06/0.2929, allocations: 0 / 449.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06724/0.3602, allocations: 15.23 MB / 465.2 MB, free: 5.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.3603, allocations: 141.5 kB / 465.3 MB, free: 5.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000698/0.361, allocations: 0.5225 MB / 465.8 MB, free: 4.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001737/0.3612, allocations: 41.7 kB / 465.9 MB, free: 4.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.3615, allocations: 400.7 kB / 466.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.3618, allocations: 329.2 kB / 466.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.3621, allocations: 190.6 kB / 466.8 MB, free: 3.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3623, allocations: 386.7 kB / 467.2 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.3643, allocations: 0.7244 MB / 467.9 MB, free: 2.484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.3664, allocations: 0.9551 MB / 468.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/0.3703, allocations: 1.697 MB / 470.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.3703, allocations: 7.938 kB / 470.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02251/0.3928, allocations: 5.327 MB / 475.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.779e-05/0.3929, allocations: 71.39 kB / 475.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.3929, allocations: 4 kB / 475.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03279/0.4257, allocations: 6.836 MB / 482.8 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.4264, allocations: 143.7 kB / 482.9 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00595/0.4323, allocations: 3.013 MB / 485.9 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.434, allocations: 179.8 kB / 486.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.4341, allocations: 51.91 kB / 486.2 MB, free: 15.91 MB / 398.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.0004186/0.4345, allocations: 229.7 kB / 486.4 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.4346, allocations: 83.48 kB / 486.5 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0218/0.4564, allocations: 5.06 MB / 491.5 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.4565, allocations: 8 kB / 491.5 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.4565, allocations: 4 kB / 491.5 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/0.4565, allocations: 8.219 kB / 491.5 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.458, allocations: 1.076 MB / 492.6 MB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.458, allocations: 4 kB / 492.6 MB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.4585, allocations: 95.89 kB / 492.7 MB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03345/0.492, allocations: 6.777 MB / 499.5 MB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/0.4922, allocations: 23.98 kB / 499.5 MB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005881/0.4981, allocations: 3.041 MB / 0.4908 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4981, allocations: 0 / 0.4908 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02376/0.5218, allocations: 5.94 MB / 0.4966 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.5221, allocations: 87.39 kB / 0.4967 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.5222, allocations: 16 kB / 0.4967 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.5235, allocations: 171.8 kB / 0.4968 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.5238, allocations: 96.83 kB / 0.4969 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-05/0.5239, allocations: 27.98 kB / 0.497 GB, free: 9.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004549/0.5243, allocations: 358.8 kB / 0.4973 GB, free: 8.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5243, allocations: 0 / 0.4973 GB, free: 8.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007924/0.5251, allocations: 263.9 kB / 0.4976 GB, free: 8.398 MB / 414.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.02527/0.5504, allocations: 6.525 MB / 0.5039 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006025/0.5564, allocations: 1.969 MB / 0.5058 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5564, allocations: 4 kB / 0.5059 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003447/0.5599, allocations: 1.008 MB / 0.5068 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.5606, allocations: 126.4 kB / 0.507 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05448/0.6151, allocations: 15.91 MB / 0.5225 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.6157, allocations: 0.9468 MB / 0.5234 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003505/0.616, allocations: 62.25 kB / 0.5235 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/0.6164, allocations: 275.3 kB / 0.5237 GB, free: 13.15 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6164, allocations: 0 / 0.5237 GB, free: 13.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2587/0.8751, allocations: 31.17 MB / 0.5542 GB, free: 100.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.89, allocations: 4.062 kB / 0.5542 GB, free: 100.6 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.289796606637537] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 13.99845562176779 14.015127816 13.732427345 Calling exit ...