Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.001438/0.001438, allocations: 114.4 kB / 16.41 MB, free: 6.508 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.001283/0.001283, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.508/1.508, allocations: 222.9 MB / 245.1 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.067/1.067, allocations: 173.5 MB / 470.7 MB, free: 13.61 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) 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(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.11 kB / 0.6478 GB, free: 11.76 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1804, allocations: 89.53 MB / 0.7353 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004672/0.1851, allocations: 3.069 MB / 0.7383 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002789/0.1879, allocations: 1.733 MB / 0.7399 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.188, allocations: 4 kB / 0.7399 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009896/0.189, allocations: 326.7 kB / 0.7403 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.1895, allocations: 215.1 kB / 0.7405 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.19, allocations: 179.5 kB / 0.7406 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000393/0.1904, allocations: 322.9 kB / 0.7409 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003861/0.1908, allocations: 232.7 kB / 0.7412 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.191, allocations: 147.4 kB / 0.7413 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.1913, allocations: 159.5 kB / 0.7415 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.1914, allocations: 20 kB / 0.7415 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.1918, allocations: 243.5 kB / 0.7417 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.1919, allocations: 103.8 kB / 0.7418 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.192, allocations: 119.5 kB / 0.7419 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005439/0.1926, allocations: 430.5 kB / 0.7423 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1926, allocations: 0 / 0.7423 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1926, allocations: 3.938 kB / 0.7423 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1926, allocations: 0 / 0.7423 GB, free: 10.94 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009677/0.1936, allocations: 0.5454 MB / 0.7429 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1936, allocations: 8.031 kB / 0.7429 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.093e-05/0.1937, allocations: 66.72 kB / 0.7429 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007201/0.1944, allocations: 92.69 kB / 0.743 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.1948, allocations: 258.2 kB / 0.7433 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1948, allocations: 16.81 kB / 0.7433 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1949, allocations: 32.45 kB / 0.7433 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.1955, allocations: 377 kB / 0.7437 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1956, allocations: 0 / 0.7437 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.1956, allocations: 11.98 kB / 0.7437 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.81e-05/0.1957, allocations: 28.42 kB / 0.7437 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.1962, allocations: 309.4 kB / 0.744 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.198, allocations: 1.522 MB / 0.7455 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.1985, allocations: 230.4 kB / 0.7457 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.1987, allocations: 120.8 kB / 0.7458 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.1988, allocations: 89.09 kB / 0.7459 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1989, allocations: 30.56 kB / 0.746 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.1989, allocations: 4 kB / 0.746 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001338/0.2002, allocations: 0.7926 MB / 0.7467 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2003, allocations: 55.41 kB / 0.7468 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.2005, allocations: 199.4 kB / 0.747 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2005, allocations: 29.7 kB / 0.747 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2006, allocations: 164.2 kB / 0.7472 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.2007, allocations: 75.41 kB / 0.7472 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2008, allocations: 53.66 kB / 0.7473 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.201, allocations: 330.8 kB / 0.7476 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.2012, allocations: 111.9 kB / 0.7477 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.2014, allocations: 175.5 kB / 0.7479 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.2018, allocations: 297.1 kB / 0.7482 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2019, allocations: 4 kB / 0.7482 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007784/0.2026, allocations: 420.9 kB / 0.7486 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2027, allocations: 4 kB / 0.7486 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.2027, allocations: 4 kB / 0.7486 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/0.2032, allocations: 108.9 kB / 0.7487 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.2034, allocations: 47.91 kB / 0.7487 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.2056, allocations: 1.879 MB / 0.7506 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.2058, allocations: 19.92 kB / 0.7506 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.2058, allocations: 8 kB / 0.7506 GB, free: 1.902 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.206, allocations: 153.8 kB / 0.7507 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.206, allocations: 23.86 kB / 0.7507 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.2066, allocations: 301.2 kB / 0.751 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2066, allocations: 0 / 0.751 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-06/0.2066, allocations: 0 / 0.751 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2066, allocations: 8.109 kB / 0.751 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009319/0.2075, allocations: 0.703 MB / 0.7517 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2075, allocations: 0 / 0.7517 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.2078, allocations: 59.95 kB / 0.7518 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2078, allocations: 3.938 kB / 0.7518 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.2079, allocations: 8.062 kB / 0.7518 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2079, allocations: 3.938 kB / 0.7518 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2079, allocations: 0 / 0.7518 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.2085, allocations: 0.5076 MB / 0.7523 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3616/0.5701, allocations: 119.9 kB / 0.7524 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.5702, allocations: 7.828 kB / 0.7524 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.5705, allocations: 13.97 kB / 0.7524 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.5705, allocations: 10.58 kB / 0.7524 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.5706, allocations: 5.797 kB / 0.7524 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000163/0.5707, allocations: 152.2 kB / 0.7526 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.5708, allocations: 1.812 kB / 0.7526 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005073/0.5713, allocations: 68.64 kB / 0.7527 GB, free: 18.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009486/0.5722, allocations: 1.06 MB / 0.7537 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008231/0.5731, allocations: 424.4 kB / 0.7541 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5731, allocations: 0.9688 kB / 0.7541 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.5733, allocations: 121.6 kB / 0.7542 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.5737, allocations: 36.09 kB / 0.7543 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.5771, allocations: 2.895 MB / 0.7571 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.5773, allocations: 0.7691 MB / 0.7578 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001883/0.5775, allocations: 60.39 kB / 0.7579 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.5776, allocations: 70.3 kB / 0.758 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.5776, allocations: 0 / 0.758 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.6084, allocations: 5.089 MB / 0.7629 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.72, allocations: 10.5 kB / 0.7629 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.548124622087926] Failed to read output from testmodel.py, exit status != 0: 10.800775608979166 10.816586573 10.621474821 Calling exit ...