Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.0007734/0.0007734, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009054/0.0009054, allocations: 211.6 kB / 22.25 MB, free: 3.586 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9504/0.9504, allocations: 230.6 MB / 256 MB, free: 9.43 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7826/0.7826, allocations: 203.5 MB / 0.5039 GB, free: 10.66 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 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.0008646/0.0008646, allocations: 71.39 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.5027, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00338/0.5061, allocations: 3.076 MB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.508, allocations: 1.696 MB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.5081, allocations: 2.75 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006425/0.5087, allocations: 338.4 kB / 0.8224 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.509, allocations: 207 kB / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.5093, allocations: 191.1 kB / 0.8227 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.5096, allocations: 324.1 kB / 0.8231 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.5099, allocations: 172.4 kB / 0.8232 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.5101, allocations: 141.4 kB / 0.8234 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.5104, allocations: 163.8 kB / 0.8235 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.5104, allocations: 22 kB / 0.8235 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.5107, allocations: 220.8 kB / 0.8237 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.5108, allocations: 113.2 kB / 0.8238 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.267e-05/0.5109, allocations: 97.84 kB / 0.8239 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.5113, allocations: 433.4 kB / 0.8244 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.5113, allocations: 0 / 0.8244 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5113, allocations: 0 / 0.8244 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5114, allocations: 0 / 0.8244 GB, free: 13.15 MB / 0.6198 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.0007023/0.5121, allocations: 487.6 kB / 0.8248 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5121, allocations: 10.41 kB / 0.8248 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/0.5122, allocations: 64.86 kB / 0.8249 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.5126, allocations: 96.52 kB / 0.825 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.5129, allocations: 195.2 kB / 0.8252 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.5129, allocations: 13.75 kB / 0.8252 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.513, allocations: 29.31 kB / 0.8252 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.5134, allocations: 428.6 kB / 0.8256 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5134, allocations: 1.094 kB / 0.8256 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.5134, allocations: 6.094 kB / 0.8256 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.5135, allocations: 39.44 kB / 0.8257 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.5138, allocations: 309.3 kB / 0.826 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.515, allocations: 1.088 MB / 0.827 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.5153, allocations: 213.9 kB / 0.8272 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.5154, allocations: 106.7 kB / 0.8273 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.567e-05/0.5155, allocations: 13.95 kB / 0.8273 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.5155, allocations: 36.55 kB / 0.8274 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.5155, allocations: 1.406 kB / 0.8274 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0009145/0.5164, allocations: 0.7124 MB / 0.8281 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.5164, allocations: 55.06 kB / 0.8281 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.5166, allocations: 194.8 kB / 0.8283 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.5166, allocations: 30.89 kB / 0.8283 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.5167, allocations: 167.5 kB / 0.8285 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.5167, allocations: 64.52 kB / 0.8286 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.5168, allocations: 62.12 kB / 0.8286 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.517, allocations: 333.1 kB / 0.8289 GB, free: 10 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.5171, allocations: 114.6 kB / 0.829 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.5173, allocations: 175.3 kB / 0.8292 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.5176, allocations: 295.9 kB / 0.8295 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5176, allocations: 0.75 kB / 0.8295 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006807/0.5182, allocations: 415.6 kB / 0.8299 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5183, allocations: 5.688 kB / 0.8299 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5183, allocations: 1.594 kB / 0.8299 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/0.5186, allocations: 101.1 kB / 0.83 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.5187, allocations: 51.5 kB / 0.83 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.5201, allocations: 1.776 MB / 0.8318 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.5202, allocations: 23.7 kB / 0.8318 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.5202, allocations: 8.875 kB / 0.8318 GB, free: 8.023 MB / 0.6198 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.0001069/0.5203, allocations: 156.2 kB / 0.832 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.5204, allocations: 16.69 kB / 0.832 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.5207, allocations: 298.4 kB / 0.8323 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5207, allocations: 2.375 kB / 0.8323 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.5207, allocations: 4 kB / 0.8323 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.5207, allocations: 5.484 kB / 0.8323 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006273/0.5213, allocations: 0.6533 MB / 0.8329 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5213, allocations: 1.312 kB / 0.8329 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.5215, allocations: 54.09 kB / 0.833 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.5215, allocations: 5.969 kB / 0.833 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.5215, allocations: 6.891 kB / 0.833 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.5215, allocations: 2.922 kB / 0.833 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5215, allocations: 3.938 kB / 0.833 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.522, allocations: 0.5141 MB / 0.8335 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.5221, allocations: 41.5 kB / 0.8335 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.5221, allocations: 3.047 kB / 0.8335 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.5222, allocations: 14.81 kB / 0.8335 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.5222, allocations: 11.41 kB / 0.8336 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.5222, allocations: 9.078 kB / 0.8336 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.318e-05/0.5223, allocations: 144.2 kB / 0.8337 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5223, allocations: 0 / 0.8337 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000234/0.5225, allocations: 70.16 kB / 0.8338 GB, free: 6.875 MB / 0.6198 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.0006632/0.5232, allocations: 1.065 MB / 0.8348 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005057/0.5237, allocations: 407.2 kB / 0.8352 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5237, allocations: 0 / 0.8352 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.5238, allocations: 120.6 kB / 0.8353 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.5241, allocations: 40.14 kB / 0.8353 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.5267, allocations: 2.896 MB / 0.8382 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.5268, allocations: 163.7 kB / 0.8383 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000117/0.527, allocations: 55.14 kB / 0.8384 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.527, allocations: 70.09 kB / 0.8385 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.527, allocations: 0 / 0.8385 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.5462, allocations: 5.703 MB / 0.844 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/7.348, allocations: 7.641 kB / 0.844 GB, free: 1.195 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.228594719897956] Failed to read output from testmodel.py, exit status != 0: 7.427840827032924 7.438270849 6.924919874 Calling exit ...